package org.jeecg.modules.htxincailiao.address.service.impl;

import org.jeecg.modules.htxincailiao.address.domain.vo.HTAddressVO;
import org.jeecg.modules.htxincailiao.address.entity.HTBuyerAddress;
import org.jeecg.modules.htxincailiao.address.mapper.HTBuyerAddressMapper;
import org.jeecg.modules.htxincailiao.address.service.IHTBuyerAddressService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: ht_buyer_address
 * @Author: jeecg-boot
 * @Date:   2021-06-25
 * @Version: V1.0
 */
@Service
public class HTBuyerAddressServiceImpl extends ServiceImpl<HTBuyerAddressMapper, HTBuyerAddress> implements IHTBuyerAddressService {

    @Override
    public HTAddressVO queryByAddressId(String addressId) {
        return baseMapper.queryByAddressId(addressId);
    }

    @Override
    public List<HTBuyerAddress> findAllByIsDefault(Integer isDefault) {
        return baseMapper.findAllByIsDefault(isDefault);
    }
}
